dm: video: bridge: don't fail to activate bridge if reset or sleep GPIO is missing
authorVasily Khoruzhick <anarsoul@gmail.com>
Tue, 6 Nov 2018 04:24:29 +0000 (20:24 -0800)
committerVagrant Cascadian <vagrant@debian.org>
Sun, 9 Dec 2018 07:16:44 +0000 (07:16 +0000)
commit1798e305ef412fe4f563407acee0cce94976abc9
tree5072f4dd465a960f2338f647aaecd3f0b2acfce2
parent2a35e0a1d325f40aab89520f187e5d49741394aa
dm: video: bridge: don't fail to activate bridge if reset or sleep GPIO is missing

Both GPIOs are optional, so we shouldn't fail if any is missing.
Without this fix reset is not deasserted if sleep GPIO is missing.

Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Tested-by: Maxime Ripard <maxime.ripard@bootlin.com>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Cc: Vagrant Cascadian <vagrant@debian.org>
Gbp-Pq: Topic pinebook
Gbp-Pq: Name 0008-dm-video-bridge-don-t-fail-to-activate-bridge-if-res.patch
drivers/video/bridge/video-bridge-uclass.c